<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title></title>
		<%@ include file="/jsp/front/common/header.jsp"%>
	</head>
	<body>
		<%@ include file="/jsp/front/common/nav.jsp"%>

		<div style="margin: auto; width: 985px;">
			<div class="MemberCenter">
				<div class="siteparttitle">
					<div class="gender"></div>
					<div class="info">
						<strong>您好:${member.name}</strong>&nbsp;&nbsp;[ 会员中心]&nbsp;&nbsp;[
						<a href="logout.html" class="lnk">退出</a>]
					</div>
					<div class="time"></div>
					<div style="clear: both;"></div>
				</div>

				<%@ include file="/jsp/front/member/memberNav.jsp"%>

				<div class="MemberMain">
					<div style="margin-right: 175px;">
						<div class="title">
							我的积分
						</div>
						<div class="points">
							<table width="100%" cellspacing="0" cellpadding="0" border="0">
								<tbody>
									<tr>
										<td width="200">
											<div class="currentpoints">
												<div style="padding-top: 30px;">
													<strong>您当前的有效积分：</strong>
													<br>
														<span style="font-size: 20px; font-weight: bold; color: rgb(253, 107, 0);">${members.point}</span>
												</div>
											</div>
										</td>
										<td style="line-height: 20px;">
											<strong>积分规则：</strong>
											<br />
											1. 当积分已达到某一兑换积分标准时，顾客可将累计积分依照网站相应积分及兑换标准兑换回馈商品，网站将即时从用户会员积分中扣减相应积分。
											<br />
											2. 各项回馈项目（包含各项商品、服务或抵用券等）及兑换标准及兑换规则均以兑换当时最新回馈活动公告或目录为准。
											<br />
											3. 部分兑换商品有数量限制的，兑完为止。
											<br />
											4. 公告或目录如有有效期限的，逾期即不得兑换。
											<br />
											5. 积分兑换区的商品为只可用积分兑换的商品（如积分价格：100积分）。
										</td>
									</tr>
								</tbody>
							</table>
						</div>
						<table width="100%" cellspacing="0" cellpadding="0" border="0" class="memberlist blueth">
							<tr>
								<th>
									日期
								</th>
								<th>
									积分
								</th>
								<th>
									摘要
								</th>
							</tr>
							<c:forEach items="${marketPointLogs}" var="log" varStatus="index">
								<tr>
									<td>
										${log.createTimeDate}
									</td>
									<td class="point">
										${log.point}
									</td>
									<td class="textleft">
										${log.reason}
									</td>
								</tr>
							</c:forEach>
						</table>
						<div class="clearfix">
							${pagerString }
						</div>
					</div>
				</div>
			</div>
		</div>



		<%@ include file="/jsp/front/common/footer.jsp"%> 
		<script type="text/javascript">	
			//$('#mc_point').attr('class','current');
			document.getElementById('mc_point').className = 'current';
		</script>
	</body>
</html>